package com.cm.scan.primary;

import com.cm.summer.annotion.Bean;
import com.cm.summer.annotion.Configuration;
import com.cm.summer.annotion.Primary;

/**
 * @author cm
 * 2025/1/7
 */
@Configuration
public class PrimaryConfiguration {
    @Primary
    @Bean
    DogBean husky() {
        return new DogBean("Husky");
    }

    @Bean
    DogBean teddy() {
        return new DogBean("Teddy");
    }
}
